﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface IPhieuThuePhong
    {
        [OperationContract]
        IEnumerable<PHIEUTHUEPHONG> GetByAllPhieuThuePhong();

        [OperationContract]
        String InsertPhieuThuePhong(PHIEUTHUEPHONG data);

        [OperationContract]
        String UpdatePhieuThuePhong(PHIEUTHUEPHONG data);

        [OperationContract]
        String DeletePhieuThuePhong(string id);

        [OperationContract]
        IEnumerable<PHIEUTHUEPHONG> GetByTopPhieuThuePhong(string _top, string _where, string _order);

        [OperationContract]
        String ApprovePhieuThuePhong(PHIEUTHUEPHONG data);
    }
}
